package com.kkks.spring_rest.tick.model;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;

/**
 * AbstractWhoOrderScanlogisInfo entity provides the base persistence definition
 * of the WhoOrderScanlogisInfo entity. @author MyEclipse Persistence Tools
 */
@MappedSuperclass
public abstract class AbstractWhoOrderScanlogisInfo implements
		java.io.Serializable {

	// Fields

	private Integer recId;
	private String orderSn;
	private String tranckingNumber;
	private String weight;

	// Constructors

	/** default constructor */
	public AbstractWhoOrderScanlogisInfo() {
	}

	/** full constructor */
	public AbstractWhoOrderScanlogisInfo(String orderSn,
			String tranckingNumber, String weight) {
		this.orderSn = orderSn;
		this.tranckingNumber = tranckingNumber;
		this.weight = weight;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "rec_id", unique = true, nullable = false)
	public Integer getRecId() {
		return this.recId;
	}

	public void setRecId(Integer recId) {
		this.recId = recId;
	}

	@Column(name = "order_sn", length = 50)
	public String getOrderSn() {
		return this.orderSn;
	}

	public void setOrderSn(String orderSn) {
		this.orderSn = orderSn;
	}

	@Column(name = "trancking_number", length = 50)
	public String getTranckingNumber() {
		return this.tranckingNumber;
	}

	public void setTranckingNumber(String tranckingNumber) {
		this.tranckingNumber = tranckingNumber;
	}

	@Column(name = "weight", length = 10)
	public String getWeight() {
		return this.weight;
	}

	public void setWeight(String weight) {
		this.weight = weight;
	}

}